<script setup  lang="ts">
import {ref, reactive } from "vue"
const careersList = [
  {
     title: '鸿蒙开发前端',
    content: '招聘人数: 1~2名'
  },
    {
     title: '鸿蒙开发后端',
    content: '招聘人数: 1~2名'
  },
    {
     title: '3D场景设计师',
    content: '招聘人数: 1~2名'
  },
    {
     title: '3D角色设计师',
    content: '招聘人数: 1~2名'
  },
    {
     title: '游戏策划师',
    content: '招聘人数: 1~2名'
  },
    {
     title: '新媒体运营',
    content: '招聘人数: 1~2名'
  }
]


</script>

<template>
  <div class="careers">
    <div class="careers-text">
        <h1>加入我们，创造未来</h1>
        <span>我们正在寻找充满激情的人才加入我们的团队。在这里，你将有机会参与开创性的项目，与业内顶尖人才共同成长。</span>
    </div>
    <div class="careers-content">
      <div v-for="item in careersList" :key="item.title">
        <div>
          <p>{{item.title}}</p>
          <i class="iconfont icon-xia"></i>
        </div>
       
        <span>{{item.content}}</span>
      </div>
    </div>
   
   
  
  </div>
</template>

<style lang="scss" scoped>
.careers{
  span{
      color: #75787c;
    }
    >div{
      display: flex;
      justify-content: start;
      align-items: center;
    }
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 1280px;
    .careers-text{
      height: 300px;
      width: 100%;
       flex-direction: column;
      background-color: #eff5ff;
      padding-top: 40px;
      h1{
        margin-bottom: 10px;
        font-weight: 800;
      }
    }
    .careers-content{
      flex-wrap: wrap;
      gap: 20px;
      >div{
        box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-radius: 5px;
        height: 110px;
        width: 400px;
         transition: all 0.3s ease; /* 添加过渡效果使动画更平滑 */
        cursor: pointer; /* 鼠标悬停时显示手型指针 */
          /* 鼠标悬停效果 */
        &:hover {
          transform: translateY(-5px); /* 向上移动5像素 */
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 增强阴影效果 */
        }
        >div{
          display: flex;
          justify-content: space-between;
          i{
            color: #457aee;
          }
           p{
          font-size: 18px;
          font-weight: bold;
        }
        }
       
      }
    }
   
 

}
</style>
